package com.xiaobai.zhuangxiuguanjia.model;

import org.json.JSONObject;

/**
 * Created by Administrator on 2015/6/15 0015.
 */
public class Info {
    private String pid;
    private String oldaid;
    private String filename;
    private String width;
    private String height;
    private String likenum;
    private String webUrl;
    private String isCollection;
    private String viewsnum;
    public void parseJSON(JSONObject json){
        pid = json.optString("pid");
        oldaid = json.optString("oldaid");
        filename = json.optString("filename");
        width = json.optString("width");
        height = json.optString("height");
        likenum = json.optString("likenum");
        webUrl = json.optString("webUrl");
        isCollection = json.optString("isCollection");
        viewsnum = json.optString("viewsnum");
    }

    public String getPid() {
        return pid;
    }

    public String getOldaid() {
        return oldaid;
    }

    public String getFilename() {
        return filename;
    }

    public String getWidth() {
        return width;
    }

    public String getHeight() {
        return height;
    }

    public String getLikenum() {
        return likenum;
    }

    public String getWebUrl() {
        return webUrl;
    }

    public String getIsCollection() {
        return isCollection;
    }

    public String getViewsnum() {
        return viewsnum;
    }
}
